<div class="lab1" style="display: block;"> Xếp hạng tháng <label style="text-align: center;padding: 0px 5px;"><?php echo $bxh_off_month->month?></label></div>
<div class="chart-bxx" style="margin-top: 35px;">
    <label><span class="trophy"></span> Bảng xếp hạng</label>
    <table style="width: 100%;">
        <thead>
            <tr>
                <th>Người chơi</th>
                <th>Tổng điểm</th>
            </tr>
        </thead>
        <tbody>
        <?php if(!in_array($bxh_off_month->data, array(null, '', '0'))):?>
        <?php foreach($bxh_off_month->data AS $el=>$le):?>
            <tr>
                <td><?php echo ($el+1).'. ';?><a title="<?php echo $le->name?>"><?php echo $le->name?></a></td>
                <td><?php echo $le->scores?></td>
            </tr>
        <?php endforeach;?>
        <?php else:?>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <?php endif;?>
        </tbody>
    </table>
</div>
<div class="opt tooltips clearfix">
    <ul>
        <li><a class="item" href="<?php echo $baseurl?>"><span class="icon-home"></span><p class="hidden">Trang chủ</p></a></li>
        <li><a class="item" href="<?php echo $baseurl?>policy"><span class="icon-policy"></span><p class="hidden">Điều lệ</p></a></li>
        <li><a id="chart" class="item" href="#"><span class="icon-chart"></span><p class="hidden">Xếp hạng</p></a></li>
    </ul>
</div>